<div class="ui thin visible sidebar left accordion inverted vertical menu">
    <div class="item">
        <a class="active title fly-home"><i class="home icon"></i><b>飞猫</b></a>
    </div>
    <% data.forEach(function(row){ %>
    <div class="item">
        <% if(row.subMenus[0]) { %>
        <a class="title router-link" data-router="<%=row.url%>">
            <i class="dropdown icon"></i><b><%=row.name%></b>
        </a>
        <div class="content menu">
            <% row.subMenus.forEach(function(item){ %>
            <a class="item router-link" data-router="<%=item.url%>"><%=item.name%></a>
            <% }); %>
        </div>
        <% } else { %>
        <a class="active title router-link" data-router="<%=row.url%>"><b><%=row.name%></b></a>
        <% } %>
    </div>
    <% }); %>
</div>
